package com.sbj.dto.res;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.sbj.dto.jackson.CustomDecimalSerialize;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author summer
 * @version 1.0
 * @date 2024/8/27 16:44
 */
@Data
public class TransferRationRes implements Serializable {

    private Integer id;

    @JsonSerialize(using = CustomDecimalSerialize.class)
    private BigDecimal original;


    @JsonSerialize(using = CustomDecimalSerialize.class)
    private BigDecimal transferAmount;

    @JsonSerialize(using = CustomDecimalSerialize.class)
    private BigDecimal balance;

}
